package com.ljkj.access;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the trolerightrelation database table.
 * 
 */
@Entity
@Table(name="trolerightrelation")
@NamedQuery(name="Trolerightrelation.findAll", query="SELECT t FROM Trolerightrelation t")
public class Trolerightrelation implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="trr_id")
	private int trrId;

	@Column(name="right_id")
	private int rightId;

	@Column(name="right_type")
	private int rightType;

	private int role_id;

	public Trolerightrelation() {
	}

	public int getTrrId() {
		return this.trrId;
	}

	public void setTrrId(int trrId) {
		this.trrId = trrId;
	}

	public int getRightId() {
		return this.rightId;
	}

	public void setRightId(int rightId) {
		this.rightId = rightId;
	}

	public int getRightType() {
		return this.rightType;
	}

	public void setRightType(int rightType) {
		this.rightType = rightType;
	}

	public int getRole_id() {
		return this.role_id;
	}

	public void setRole_id(int role_id) {
		this.role_id = role_id;
	}

}